Police apologize, High Court dismisses case regarding their posing with accused